home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
F1 Licenseware
/
F1 Licenseware - Volume 1.iso
/
disks
/
089a.dms
/
089a.adf
/
EXAMPLE_PROGRAMS
/
example06.AMOS
/
example06.amosSourceCode
Wrap
AMOS Source Code
|
1992-03-06
|
929b
|
31 lines
'===============
'Example6.Amos
'===============
Rem A short program to demonstrate some of the commands we have learnt.
Rem Turn off the text cursor and HIDE the mouse pointer
'----------------------------------------------------------------------
Curs Off
Hide
Rem Now the actual meat of the program
'--------------------------------------
Rem Run a FOR NEXT loop from 0 to 15
'--------------------------------------
For A=0 To 15
Rem Clear the screen using A as the colour, first of all A=0 then continues
Rem up to and including 15
'-----------------------------------------
Cls A
Rem PRINT a message, don't worry about the ;A we will be covering that soon.
'-----------------------------------------------------------------------------
Print "SCREEN CLEARED TO COLOUR ";A
Rem WAIT long enough so the user can read the message
'------------------------------------------------------
Wait 75
Next A